<?php
namespace app\common\validate;

use think\Validate;

class SendSms extends Validate
{
    protected $connection = 'db_config_aiqi';
    protected $rule = [
        'phone'         => 'require|number|length:11',
//        'verify'   => 'require|captcha'
    ];

    protected $message = [
        'phone.require'         => '请输入用户名',
//        'verify.require'     => '请输入验证码',
//        'verify.captcha'     => '验证码不正确',
    ];
}